package com.hsmw.api.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
import java.util.regex.Pattern;

@Data
public class DriveTotalInfoVO {


    @ApiModelProperty(value = "司机id")
    private String driverId;
    @ApiModelProperty(value = "司机id")
    private String vehicleId;

    @ApiModelProperty(value = "司机名字")
    private String driverName;


    @ApiModelProperty(value = "司机头像")
    private String headProfile;

    @ApiModelProperty(value = "司机电话")
    private String driverTelNum;

    @ApiModelProperty(value = "司机评分")
    private Integer score;

    @ApiModelProperty(value = "司机历史订单数量")
    private Integer historyOrderCount;

    @ApiModelProperty(value = "司机历史行驶里程")
    private Integer historyDriverMiles;

    @ApiModelProperty(value = "车辆类型")
    private String vehicleModel;

    @ApiModelProperty(value = "车辆型号")
    private String vehicleType;

    @ApiModelProperty(value = "车牌号")
    private String vehiclePlate;

    @ApiModelProperty(value = "车品牌")
    private String vehicleBrand;

    @ApiModelProperty(value = "车桥数量")
    private String axis;

    @ApiModelProperty(value = "泵车臂节数")
    private String armSegment;

    @ApiModelProperty(value = "泵车年限")
    private String years;

    @ApiModelProperty(value = "底盘品牌")
    private String chassisBrand;

    @ApiModelProperty(value = "故障率")
    private String trafficRate;

    @ApiModelProperty(value = "行驶证正面照片")
    private String drivingFrontImage;

    @ApiModelProperty(value = "行驶证副本照片")
    private String drivingCopyImage;

    @ApiModelProperty(value = "左45度照片")
    private String vehicleLeftImage;

    @ApiModelProperty(value = "右45度照片")
    private String vehicleRightImage;



    @ApiModelProperty(value = "商业险到期时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate commicialEnsurendeStatus;

    @ApiModelProperty(value = "交强险到期时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate trafficEnsurendeStatus;


    @ApiModelProperty(value = "行驶证到期时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate drivingLicenseTime;

    @ApiModelProperty(value = " 交强险保单照片 ")
    private String compuTrafficImage;

    @ApiModelProperty(value = " 商业保险保单照片 ")
    private String commercialInsuranceImage;

    @ApiModelProperty(value = "保养时间")
    private String maintenanceTime;


    @ApiModelProperty(value = "洗车时间")
    private String washTime;


    @ApiModelProperty(value = "车辆Imei号码")
    private String  imeiNum;

    @ApiModelProperty(value = "所属单位ID")
    private String ownCompanyId;

    @ApiModelProperty(value = "所属单位名称")
    private String ownCompanyName;


    @ApiModelProperty(value = "职业道德与服务规范状态 0：未通过 1： 通过")
    private String  workEthicAndServiceSpecification;



    @ApiModelProperty(value = "安全运营与职业规范状态 0：未通过 1： 通过")
    private String  safeOperandProfSpecifications;


    @ApiModelProperty(value = "车辆使用与常见故障处理 0：未通过 1： 通过")
    private String  vehicleUseAndCommonTroubleshooting;

    @ApiModelProperty(value = "车辆使用与常见故障处理 0：未通过 1： 通过")
    private String  trafficAccidentTreatmentAndEmerRescue;


    @ApiModelProperty(value = "加油时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime submitTime;

    @ApiModelProperty(value = "同行司机")
    private List<DriverDetailInfoVO> driverDetailInfoVOS;


}
